﻿<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE xsl:stylesheet  [
	<!ENTITY nbsp   "&#160;">
	<!ENTITY copy   "&#169;">
	<!ENTITY reg    "&#174;">
	<!ENTITY trade  "&#8482;">
	<!ENTITY mdash  "&#8212;">
	<!ENTITY ldquo  "&#8220;">
	<!ENTITY rdquo  "&#8221;"> 
	<!ENTITY pound  "&#163;">
	<!ENTITY yen    "&#165;">
	<!ENTITY euro   "&#8364;">
]>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:user="CityFly" xmlns:page="urn:page">
  <xsl:output method="html" encoding="utf-8" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
  <xsl:param name="rowcount"/>
  <!--数据库总记录数-->
  <xsl:param name="maxrow"/>
  <!--每页记录数-->
  <xsl:param name="curpage"/>
  <!--当前页码-->
  <xsl:param name="param"/>
  <!--引入 param 参数-->
  <xsl:param name="templatename"/>
  <!--Label.xml 模块名称-->
  <xsl:param name="orderby"/>
  <!--Label.xml orderby 参数-->
  <xsl:param name="where"/>
  <!--Label.xml where 参数-->
  <xsl:param name="runtime"/>
  <!--运行时长-->
  <msxsl:script language="javascript" implements-prefix="user">function StrSplit(Str,splitChar,n){
    if(Str.length=0){return '1'}
    var a=Str.replace(/'/g,&quot;&quot;).split(splitChar);
    if(n&lt;a.length){
    if(a[n].length==0)return '1';
    return a[n];
    }
    return '1';
    }</msxsl:script>
  <xsl:template match="/">
    <!--标题开头-->
 <div style="padding:4px;"><a href="#">转载此新闻</a></div>
    <form id="form1" name="form1" method="post">
      <table width="100%" border="0" cellspacing="1" bgcolor="#E0E0E0" class="infoEdit">
        <tr>
          <td width="100" bgcolor="#FFFFFF">编码：</td>
          <td bgcolor="#FFFFFF"><xsl:value-of select="rows/row/AId"/>&nbsp;&nbsp;</td>
        </tr>
        <tr>
          <td width="100" bgcolor="#FFFFFF">标题：</td>
          <td bgcolor="#FFFFFF"><xsl:value-of select="rows/row/Title"/></td>
        </tr>
        <tr>
          <td width="100" bgcolor="#FFFFFF">来源：</td>
          <td bgcolor="#FFFFFF"><xsl:value-of select="rows/row/Resource"/></td>
        </tr>
        <tr>
          <td colspan="2" bgcolor="#FFFFFF"><div id="divContent">
          <pre style="width:600px;">
          <xsl:value-of select="rows/row/Content" disable-output-escaping="yes"/>
          <!--<textarea name="F_Content" class="htmlContent" id="F_Content{page:xRequest('number__')}" style="width:80%; border:1 solid #999999; background-color:#F7F7F7"><xsl:if test="count(rows/row)!=0"><xsl:value-of select="rows/row/F_Content" disable-output-escaping="yes" /></xsl:if><xsl:if test="(string-length(rows/row/F_Content)=0)">&nbsp;</xsl:if>
  </textarea> -->      </pre> </div><script type="text/javascript">
  						//FCKeditor.ReplaceAllTextareas('htmlContent');
     					//TM.openHtml('divContent','F_Content',360);
				</script></td>
        </tr>
        <tr>
          <td width="100" bgcolor="#FFFFFF"><input name="editID" type="hidden" id="editID" >
        <xsl:attribute name="value"><xsl:value-of select="rows/row/ID"/>
        <xsl:if test="count(rows/row)=0">
          0
        </xsl:if>
        </xsl:attribute>
        </input></td>
          <td bgcolor="#FFFFFF"> <input name="F_Content" id="F_Content" type="hidden" value="{rows/row/Content}" />         <input name="f" type="hidden" value="@文章" />
          <input class="btnD" type="button" value="关闭" name="button" onclick="TM.closeTab()"/>
          &nbsp; &nbsp;
          <input id="tpath" readonly="readonly" name="tpath" type="hidden" class="w300" value="{rows/row/F_TPath}" /></td>
        </tr>
      </table>
    </form>
  </xsl:template>
</xsl:stylesheet>
